package net.ermannofranco.genericdaojdbc.util;

public enum Comparation {
	EQUAL(" = "), NOT_EQUAL(" <> "), GREATER_THAN(" > "), LESS_THAN(" < "), LESS_OR_EQ(
			" <= "), GREATER_OR_EQ(" >= "), LIKE(" LIKE "), NOT_LIKE(
			" NOT LIKE ");

	private final String val;

	private Comparation(String val) {
		this.val = val;
	}

	/**
	 * Return the symbol used to build the enum, e.g " <= " for LESS_OR_EQ
	 * 
	 * @return
	 */
	public String val() {
		return val;
	}
}
